package com.shxc.smarttrade.kvb.model;

import java.util.List;

/**
 * 问卷调查
 */

public class QuestionsModel {


    /**
     * data : [{"answersList":[{"value":"受雇","id":1,"qid":1,"remark":"","label":"A"},{"value":"自雇","id":2,"qid":1,"remark":"","label":"B"},{"value":"退休","id":3,"qid":1,"remark":"","label":"C"},{"value":"无业","id":4,"qid":1,"remark":"","label":"D"}],"name":"1、就业情况","id":1,"remark":"1、就业情况"},{"answersList":[{"value":"低于 $50,000","id":5,"qid":2,"remark":"","label":"A"},{"value":"$50,000 - $100,000","id":6,"qid":2,"remark":"","label":"B"},{"value":"$100,000 - $250,000","id":7,"qid":2,"remark":"","label":"C"},{"value":"高于 $250,000","id":8,"qid":2,"remark":"","label":"D"}],"name":"2、年收入","id":2,"remark":"2、年收入"},{"answersList":[{"value":"低于 $50,000","id":9,"qid":3,"remark":"","label":"A"},{"value":"$50,000 - $100,000","id":10,"qid":3,"remark":"","label":"B"},{"value":"$100,000 - $250,000","id":11,"qid":3,"remark":"","label":"C"},{"value":"高于 $250,000","id":12,"qid":3,"remark":"","label":"D"}],"name":"3、可投资金额","id":3,"remark":"3、可投资金额"},{"answersList":[{"value":"0-12月","id":13,"qid":4,"remark":"","label":"A"},{"value":"1-3年","id":14,"qid":4,"remark":"","label":"B"},{"value":"3年以上","id":15,"qid":4,"remark":"","label":"C"}],"name":"4.1 保证金外汇交易","id":4,"remark":"4、投资经验"},{"answersList":[{"value":"0-12月","id":16,"qid":5,"remark":"","label":"A"},{"value":"1-3年","id":17,"qid":5,"remark":"","label":"B"},{"value":"3年以上","id":18,"qid":5,"remark":"","label":"C"}],"name":"4.2 保证金差价交易合约","id":5,"remark":"4、投资经验"}]
     * err_code : 0
     * err_msg : successe
     */

    private String err_code;
    private String err_msg;
    private List<DataBean> data;

    public String getErr_code() {
        return err_code;
    }

    public void setErr_code(String err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * answersList : [{"value":"受雇","id":1,"qid":1,"remark":"","label":"A"},{"value":"自雇","id":2,"qid":1,"remark":"","label":"B"},{"value":"退休","id":3,"qid":1,"remark":"","label":"C"},{"value":"无业","id":4,"qid":1,"remark":"","label":"D"}]
         * name : 1、就业情况
         * id : 1
         * remark : 1、就业情况
         */

        private String name;
        private int id;
        private String remark;
        private int aid = 0;
        private List<AnswersListBean> answersList;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getRemark() {
            return remark;
        }

        public void setRemark(String remark) {
            this.remark = remark;
        }

        public List<AnswersListBean> getAnswersList() {
            return answersList;
        }

        public int getAid() {
            return aid;
        }

        public void setAid(int aid) {
            this.aid = aid;
        }

        public void setAnswersList(List<AnswersListBean> answersList) {
            this.answersList = answersList;


        }

        public static class AnswersListBean {
            /**
             * value : 受雇
             * id : 1
             * qid : 1
             * remark :
             * label : A
             */

            private String value;
            private int id;
            private int qid;
            private String remark;
            private String label;

            public String getValue() {
                return value;
            }

            public void setValue(String value) {
                this.value = value;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getQid() {
                return qid;
            }

            public void setQid(int qid) {
                this.qid = qid;
            }

            public String getRemark() {
                return remark;
            }

            public void setRemark(String remark) {
                this.remark = remark;
            }

            public String getLabel() {
                return label;
            }

            public void setLabel(String label) {
                this.label = label;
            }
        }
    }
}
